package com.yanfan.energy.domain;

/**
 * @author caijinkang
 * @date 2023年01月30日 14:48
 */
public class ProductionBody {
    /**
     * 订单编号
     *
     * @author caijinkang
     * @date 2023/1/30 14:48
     * @param null
     * @return null
     */
    private String orderNumber;
    /**
     * 批次编号
     *
     * @author caijinkang
     * @date 2023/1/30 14:49
     * @param null
     * @return null
     */
    private String batchNumber;
    /**
     * 分段编号
     *
     * @author caijinkang
     * @date 2023/1/30 14:50
     * @param null
     * @return null
     */
    private String subsectionNumber;
    /**
     * 厂区
     *
     * @author caijinkang
     * @date 2023/1/30 14:51
     * @param null
     * @return null
     */
    private String factory;
    /**
     * 规格
     *
     * @author caijinkang
     * @date 2023/1/30 14:51
     * @param null
     * @return null
     */
    private String specification;
    /**
     * 时长
     *
     * @author caijinkang
     * @date 2023/1/30 14:52
     * @param null
     * @return null
     */
    private String duration;
    /**
     * 完成百分比
     *
     * @author caijinkang
     * @date 2023/1/30 14:52
     * @param null
     * @return null
     */
    private Double percentage;
    /**
     * 总数
     *
     * @author caijinkang
     * @date 2023/1/30 14:53
     * @param null
     * @return null
     */
    private Integer totalNumber;
    /**
     * 已完成的数量
     *
     * @author caijinkang
     * @date 2023/1/30 14:54
     * @param null
     * @return null
     */
    private Integer doneNumber;

    public ProductionBody() {
    }

    public ProductionBody(String orderNumber, String batchNumber, String subsectionNumber, String factory, String specification, String duration, Double percentage, Integer totalNumber, Integer doneNumber) {
        this.orderNumber = orderNumber;
        this.batchNumber = batchNumber;
        this.subsectionNumber = subsectionNumber;
        this.factory = factory;
        this.specification = specification;
        this.duration = duration;
        this.percentage = percentage;
        this.totalNumber = totalNumber;
        this.doneNumber = doneNumber;
    }

    @Override
    public String toString() {
        return "ProductionBody{" + "orderNumber='" + orderNumber + '\'' + ", batchNumber='" + batchNumber + '\'' + ", subsectionNumber='" + subsectionNumber + '\'' + ", factory='" + factory + '\'' + ", specification='" + specification + '\'' + ", duration='" + duration + '\'' + ", percentage=" + percentage + ", totalNumber=" + totalNumber + ", doneNumber=" + doneNumber + '}';
    }

    public String getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(String orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getBatchNumber() {
        return batchNumber;
    }

    public void setBatchNumber(String batchNumber) {
        this.batchNumber = batchNumber;
    }

    public String getSubsectionNumber() {
        return subsectionNumber;
    }

    public void setSubsectionNumber(String subsectionNumber) {
        this.subsectionNumber = subsectionNumber;
    }

    public String getFactory() {
        return factory;
    }

    public void setFactory(String factory) {
        this.factory = factory;
    }

    public String getSpecification() {
        return specification;
    }

    public void setSpecification(String specification) {
        this.specification = specification;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public Double getPercentage() {
        return percentage;
    }

    public void setPercentage(Double percentage) {
        this.percentage = percentage;
    }

    public Integer getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(Integer totalNumber) {
        this.totalNumber = totalNumber;
    }

    public Integer getDoneNumber() {
        return doneNumber;
    }

    public void setDoneNumber(Integer doneNumber) {
        this.doneNumber = doneNumber;
    }
}
